package com.cosfly.sharemusic.role.pojo;

import java.io.Serializable;
import java.util.Date;

public class Role implements Serializable {
    private Long role_id;

    private String role_code;

    private String role_name;

    private Integer role_type;

    private Date insert_time;

    private Date update_time;

    private Integer custom1;

    private Integer custom2;

    private Integer custom3;

    private Integer custom4;

    private Integer custom5;

    private Integer custom6;

    private Integer custom7;

    private Integer custom8;

    private String custom9;

    private String custom10;

    private static final long serialVersionUID = 1L;

    public Long getRole_id() {
        return role_id;
    }

    public void setRole_id(Long role_id) {
        this.role_id = role_id;
    }

    public String getRole_code() {
        return role_code;
    }

    public void setRole_code(String role_code) {
        this.role_code = role_code == null ? null : role_code.trim();
    }

    public String getRole_name() {
        return role_name;
    }

    public void setRole_name(String role_name) {
        this.role_name = role_name == null ? null : role_name.trim();
    }

    public Integer getRole_type() {
        return role_type;
    }

    public void setRole_type(Integer role_type) {
        this.role_type = role_type;
    }

    public Date getInsert_time() {
        return insert_time;
    }

    public void setInsert_time(Date insert_time) {
        this.insert_time = insert_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Integer getCustom1() {
        return custom1;
    }

    public void setCustom1(Integer custom1) {
        this.custom1 = custom1;
    }

    public Integer getCustom2() {
        return custom2;
    }

    public void setCustom2(Integer custom2) {
        this.custom2 = custom2;
    }

    public Integer getCustom3() {
        return custom3;
    }

    public void setCustom3(Integer custom3) {
        this.custom3 = custom3;
    }

    public Integer getCustom4() {
        return custom4;
    }

    public void setCustom4(Integer custom4) {
        this.custom4 = custom4;
    }

    public Integer getCustom5() {
        return custom5;
    }

    public void setCustom5(Integer custom5) {
        this.custom5 = custom5;
    }

    public Integer getCustom6() {
        return custom6;
    }

    public void setCustom6(Integer custom6) {
        this.custom6 = custom6;
    }

    public Integer getCustom7() {
        return custom7;
    }

    public void setCustom7(Integer custom7) {
        this.custom7 = custom7;
    }

    public Integer getCustom8() {
        return custom8;
    }

    public void setCustom8(Integer custom8) {
        this.custom8 = custom8;
    }

    public String getCustom9() {
        return custom9;
    }

    public void setCustom9(String custom9) {
        this.custom9 = custom9 == null ? null : custom9.trim();
    }

    public String getCustom10() {
        return custom10;
    }

    public void setCustom10(String custom10) {
        this.custom10 = custom10 == null ? null : custom10.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", role_id=").append(role_id);
        sb.append(", role_code=").append(role_code);
        sb.append(", role_name=").append(role_name);
        sb.append(", role_type=").append(role_type);
        sb.append(", insert_time=").append(insert_time);
        sb.append(", update_time=").append(update_time);
        sb.append(", custom1=").append(custom1);
        sb.append(", custom2=").append(custom2);
        sb.append(", custom3=").append(custom3);
        sb.append(", custom4=").append(custom4);
        sb.append(", custom5=").append(custom5);
        sb.append(", custom6=").append(custom6);
        sb.append(", custom7=").append(custom7);
        sb.append(", custom8=").append(custom8);
        sb.append(", custom9=").append(custom9);
        sb.append(", custom10=").append(custom10);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}